package com.jiuwu.note.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jiuwu.note.dao.UserDao;

@Service
public class UserService {
	
	@Autowired
	UserDao userDao;
	
	public int addUser(String name) {
		return userDao.addUser(name);
	}

}
